/**
 * Common
 */
.user-picture img { max-width: 100%; height: auto; }

/**
 * user login/register/password page
 */
.page-user.not-logged-in {
	
	.tabs.primary {
		display: none;
		visibility: hidden;
	}
}

#user-register-form {

	.am-form-label { padding-right: 0; }

	.csna-items {
		display: none;
	}
}

.form-user-login {
	.form-item {
		.clearfix();
		
		label {
			float: left;
			width: 20%;
			padding: 0 10px;
			text-align: right;
		}

		.form-text {
			float: left;
			width: 40%;
		}

		span.error {
			float: left;
			padding: 0 10px;
		}
	}
	.am-form-group-sm { line-height: 3rem; }
	.am-form-help {
		float: left;
		width: 100%;
		padding-left: 20%;
		text-align: left;
		line-height: 1;
	}

	.form-actions {
		// text-align: left;
		padding-left: 20%;
	}

	.forgot-passwd {
		margin-left: 20px;
	}

	#third-parties-login {
		margin-top: 30px;

		.hd {
			// pb
			font-size: 1.2rem;
			margin-bottom: 10px;
			border-bottom: 1px solid #999;
			// text-align: left;
		}
	}

	.csna-items {
		display: none;
	}
}
.modal-login {
	#modal-title {
		display: block;
		width: 100%;
		// padding-bottom: 8px;
		// margin-top: 20px;
		margin-bottom: 20px;
		border-bottom: 1px solid #999;
	}
	.am-modal-bd { text-align: left; }
	.messages.error {
	    font-size: 1.4rem;
	    // text-align: left;
	    padding: 5px;
	    margin-top: -20px;
	    margin-bottom: 10px;
	    color: #DD514C;
	}
	.reg {
		position: absolute;
		top: 35px;
		right: 20px;
		font-size: 1.2rem;
	}
	.ajax-progress-throbber {display: none;}
}

/**
 * User center
 */
.page-user {
	.tabs-wrapper { // fast theming
		display: none;
	}
}

#user-profile {
	.basic {
		overflow: hidden;
	}

	.username {
		margin-top: 0;
	}

	.user-picture {
		width: 150px;
		float: left;
		margin-right: 20px;

		img {
			border-radius: 0;
		}
	}

	.userpoints-points {
		list-style: none;

		em { font-style: normal; }
	}

	.profile-form {
		clear: both;
		overflow: hidden;
	}
}

// edit 
#user-profile-form {
	fieldset { padding-left: 0; }
	legend { margin-bottom: 0; }

	.user-picture { 
		margin-right: 20px;
		width: 100px; 
		float: left;
	}

	#edit-mail-desc {display: none;}
}
.field-type-china-address {
	// legend {margin-bottom: 0;}
	label {display: none;}
	.form-item {
		margin: 0 10px 0 0;
	}
	.form-select {
		padding-right: 20px;
	}
}
